/*******************************************************************************
 ** Name: skill.cpp                                                           **
 ** Description:                                                              **
 **                                                                           **
 ** Open Source Initiative (OSI) Approved License                             **
 **                                                                           **
 ** The contents of this file are subject to the terms of the                 **
 ** Common Development and Distribution License, Version 1.0 only             **
 ** (the "License").  You may not use this file except in compliance          **
 ** with the License.                                                         **
 **                                                                           **
 ** You can find a copy of the license in the LICENSE file within             **
 ** this distribution or at $WIKI/display/GOVT/License-software.              **
 ** Software distributed under the License is distributed on an "AS IS"       **
 ** basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.           **
 ** See the License for the specific language governing permissions           **
 ** and limitations under the License.                                        **
 **                                                                           **
 ** When distributing Covered Code, include this CDDL header in each          **
 ** file and include the License file at $GAME_DIR/LICENSE.                   **
 ** If applicable, add the following below this header, with the indicated    **
 ** fields enclosed by brackets "[]" replaced with your own identifying       **
 ** information: Portions Copyright [yyyy] [name of copyright owner]          **
 **                                                                           **
 **                                                                           **
 ** Copyright (c) 2009-2011  Barry Gian James <gian@gamingods.net>            **
 ** All rights reserved.                                                      **
 ******************************************************************************/
// Created on March 17, 2010, 12:29 AM
// Modified $Date: 2012-06-16 05:22:14 -0600 (Sat, 16 Jun 2012) $ by $Author: unknown $
#define  Skill_cpp_ID    "$Id: skill.cpp 68103 2012-06-16 11:22:14Z unknown $"

#include "skill.hpp"


/////////////////////////////////////////[Skill
Skill::Skill(const Skill& orig)
{
	idskill = orig.ID();
	name = orig.Name();
	ability = orig.Attr();
	idcounter_bonus = orig.CounterBonus();
	untrained = orig.Untrained();
	action = orig.Action();
	special = orig.Special();
	desc = orig.Desc();
	family = orig.Family();
}

/////////////////////////////////////////[SecondarySkill
SecondarySkill::SecondarySkill(const SecondarySkill & ss)
{
	id = ss.ID();
	name = ss.Name();
	desc = ss.Desc();
	attr = ss.Attr();
}

SecondarySkill &
SecondarySkill::operator = (const SecondarySkill & ss)
{
	id = ss.ID();
	name = ss.Name();
	desc = ss.Desc();
	attr = ss.Attr();
	return *this;
}
